package com.wft.chapter15;

import java.nio.charset.Charset;
import java.util.Set;
import java.util.SortedMap;

public class CharsetTest {
    public static void main(String[] args) {
        SortedMap<String, Charset> charsetSortedMap = Charset.availableCharsets();
        Set<String> set = charsetSortedMap.keySet();
        for (String s : set) {
            System.out.println(s);
        }
    }
}
